import { observable, action } from 'mobx';

const state = observable({
  menuList: [],
});

const getMenuItemByPath = action(() => {
  //
});

// TODO: 权限管理
const SetMenuList = action(() => {
  //
});

export const sideMenuService = {
  state,
  getMenuItemByPath,
  SetMenuList,
};
